package uebung5;

import java.awt.Font;
import java.awt.Frame;
import java.awt.GridLayout;
import java.awt.Label;

public class A1 extends Frame{
	
	A1(Font f){
		Admin a = new Admin();
		a.addStud(StudentBase.Course.INF,"Horst","Schlemmer",new Date(12,12,1970));
		a.addStud(StudentBase.Course.WINF,"Olga","Schlemmer",new Date(11,11,1980));
		a.addStud(StudentBase.Course.PEET,"Chantelle","M�ller",new Date(4,10,1990));
//		a.printAllStuds(System.out);
//		a.printHistoExams(System.out);
//		a.printHistoAge(System.out);
//		a.delStud(20001);
//		a.printAllStuds(System.out);
		System.out.println(a.oldest());
//		setSize(800,600);
//		setLayout(new GridLayout());
//		Label l = new Label("Hello");
//		l.setFont(f);
//		add(l);
//		setVisible(true);
	}
	
	public static void main(String[] args) {
		new A1(new Font("Tahoma",1,30));
	}
}
